package com.sk.bilibili.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sk.bilibili.bean.Member;
import com.sk.bilibili.dto.FocusInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author 邵康
* @date 2021/11/22 23:08
*/
@Repository
public interface MemberMapper extends BaseMapper<Member> {

    Page<Member> focusMember(Page<Member> page, FocusInfo focusInfo);

    List<Member> followMember(int memberId);

    String getNickName(Integer memberId);

    Boolean openHistory(Integer memberId);

}
